export const a = 1;
const obj = new Blob([JSON.stringify({ name: "张三", age: 18, flag: true })], {
  type: "application/json",
});
const data1 = obj.slice(0, 10),
  data2 = obj.slice(10, 20),
  data3 = obj.slice(20, 30),
  data4 = obj.slice(30, 40);
console.log(data1, data2, data3, data4, obj);
const fileReader = new FileReader();
fileReader.readAsDataURL(obj);
fileReader.addEventListener("load", () => {
  console.log(fileReader.result);
});
